home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / CRS / crs59.d81 / rolodex.arc / ROLODEX (.txt) < prev   
GEOS ConVerT  |  2009-10-10  |  42KB  |  665 lines

  1. Rolodex
  2. PRG formatted GEOS file V1.0
  3. Super NX-1000
  4. GB DRAW
  5. BLASTER'S CONVERTER V2.5
  6. ANIMATION
  7. ROLODEX
  8. Rolodex   V1.0
  9. (C) 1991 RUN Mag.
  10. basic
  11. geoBasic
  12. Copyright (c) 1988, Berkeley Softworks
  13.                                         R
  14. .                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  )
  15. Rolodex
  16. 6#7#8
  17. Roledexsrc
  18. `,H004
  19. `,H004
  20. Error I:   
  21. 9)L/) 
  22. vqvrvsvtvu
  23. u&t&s&r&q$q0    
  24. fqfrfsftfu`
  25. f|f}f~f
  26. z&y&x&w
  27. P%p8)
  28. q4X>V
  29.  ;  /"
  30. 8# )#
  31. A! L*0
  32. *L{! 
  33. * X* 
  34.  L*0:
  35. On disk:
  36. Insert new disk
  37. swap error
  38. geoBasic and data file
  39. @must be on the same disk
  40. Pin a one drive system
  41. geoBasic Info   
  42. MiniDesk
  43. geoWizDump
  44. ?Extra ignored?RedoT
  45. Rolodex   V1.
  46. (LX* 
  47.  P+L.*
  48. OL!SL
  49. basic data  V1.0
  50. basic
  51. Rolodex   V1.0
  52. (C) 1991 RUN Mag.
  53. basic
  54. geoBasic
  55. Copyright (c) 1988, Berkeley Softworks
  56. Disk full, remove some files
  57. Please Select Option:
  58. new document
  59. existing document
  60. to deskTop
  61. File exists, choose another.
  62. Data file is beyond V1.0
  63. WARNING!
  64. This file is write protected.
  65. Please enter new filename:
  66. Please enter an author name
  67. opening file
  68. creating file
  69. L1Y )#
  70. & zY 
  71. Not enough free space on
  72. @disk for desk accessory.
  73. running desk accessory
  74. AQ.BQ
  75. Please reboot your system
  76. @using the same GEOS disk
  77. Pthat was first used to run
  78. `geoBasic
  79. Cannot install geoBasic on
  80. @this disk.  Please refer to
  81. Pinstallation directions in
  82. `the manual.
  83. Cannot install geoBasic on a
  84. @write protected disk.
  85. Error installing geoBasic
  86. geoBasic installed.
  87. XLcvX`
  88.  ;  /"
  89. `UUUUUUUUUUUU
  90. UUUUUUUUUUUUUUUUUUUUUUUUU
  91. UUUUUUUUUUUUUUUUUUUUUUUUU
  92. UUUUUUUUUUUUUUUUUUUUUUUUU
  93. LWgLITL]
  94. L ]L,]L
  95. TLJnL
  96. RH K\
  97.  )# ZT
  98. cHL)#
  99. cHL)#L
  100. U E\ ?
  101.  2UL9
  102. <` PUL$
  103.  PUL*
  104.  K\ .k 
  105.  +_X`
  106.  )#L<W
  107. ] )# 
  108. tL/#L
  109.   H\ 
  110. W K\ 
  111. X ?\ 
  112. ; M\ Cf
  113.   tf 
  114. L+[,=
  115. L/Z 'Yh
  116.  +_ /#
  117. x K\,
  118. X* z*
  119. Q )# 
  120. hhL~W
  121. W H\ 
  122.     H uo 9]H
  123.  \\ B!
  124. [ 9]H
  125. ]  ]L
  126. hhhhh
  127. hLZT )# 
  128.  K\H #kh
  129.  8k /#
  130.  )# ``
  131. [ 9]H
  132. Ghhh /#L
  133. 6^ #k
  134. h G]L
  135. 6^ #k
  136. hhhhh`h
  137. [ 9]H
  138. L ]LZT( \\
  139. H B! 
  140. l{VvV~^
  141. l!jMj
  142. SJ^@Uy
  143. U+UIU:UXl
  144. bX]?n5na
  145.  Cf /#LHd
  146. e )#LHd )# 
  147. Bf mg
  148. BfLmg 6f
  149.  dh vh
  150. hL9W 
  151. [ E\h
  152. ` /#H #kh
  153. j )#8
  154. ] io 1k oo
  155.  ;  /"
  156.  H\ PU E\ 
  157. -n` .n
  158. m jnp
  159. D_Rolodex   V1.0
  160. Rolodex
  161. ] )# 1k
  162.  &cH8
  163.  &cL,c
  164. Rolodex
  165. 6#7#8
  166. Roledexsrc
  167. Lxp '
  168.  K\XhhL
  169. !<@DILPTX\`dhly
  170. qLTpL
  171. qLFpL(tLntL`tLfsL6tL
  172. pL|t 
  173. X` /#
  174. X` 6t 
  175. H prh 
  176. [ 6t 
  177. X` 6t 
  178. oLXpL
  179. pLSqL
  180. info$
  181. By William Coleman
  182. Copyright 1990 RUN Magazine
  183. Delete this Record?
  184. Delete this Record?
  185. >$@KillSprite
  186. Are You Ready to Print?
  187. Roladex Info
  188. @InfoBox
  189. close
  190. @ClMenu
  191. update
  192. @UpMenu
  193. recover
  194. @ReMenu
  195. @QuMenu
  196. @DecRec
  197. @AddRec
  198. @DelRec
  199. @SeaRec
  200. @IncRec
  201. prntr
  202. @PrintAll
  203. There was a Disk Error!
  204. Please make a selection:
  205. $creat
  206. $quit
  207. plain$
  208. a new Rolodex
  209. an existing Rolodex
  210. to the deskTop
  211. AddRec
  212. ClMenup
  213. DError
  214. DecRec
  215. DelRecx
  216. DisplaN
  217. DoProc*
  218. EButtoV    EditBo
  219. GetRec
  220. GetStr
  221. IncRec
  222.     InfoBoh
  223. InitScX
  224. KillSp
  225. MakeBo.
  226. NewAdd
  227. NewCit:
  228. NewFon
  229. NewNam
  230. PrintA
  231. PrtStrj
  232. QuMenu
  233.     ReMenu
  234. Redraw
  235. Resume
  236. SeaLoo
  237. SeaRec"
  238. Searchd
  239. Start
  240. TopDB
  241. UpMenu
  242. Update
  243. error    1
  244. plane
  245. creat
  246. prntr
  247.  FALSE 
  248.  ebLeft  
  249.  ebOffs  
  250.  ebLeft
  251.  ebRight 
  252.  bxL 
  253.  ebLeft
  254.  bxR 
  255.  ******************************
  256.  *      geoBasic Roladex      *
  257.  *     Copyright (c) 1990     *
  258.  *       RUN Publications     *
  259.  ******************************
  260.  Constants
  261.  plain$ 
  262.  outln$ 
  263.  bold$  
  264.  DEL$   
  265.  COMD$  
  266. ("d")
  267.  YES  
  268.  OLD  
  269.  NEW  
  270.  QUIT 
  271.  TRUE  
  272.  FALSE 
  273.  ebLeft  
  274.  ebOffs  
  275.  ebLeft
  276.  ebRight 
  277.  bxL 
  278.  ebLeft
  279.  bxR 
  280.  ebRight
  281.  nmt 
  282.  50:nmb 
  283.  adt 
  284.  65:adb 
  285.  cit 
  286.  80:cib 
  287.  pht 
  288.  95:phb 
  289.  MAXREC 
  290.  BCKP 
  291.  7,"roladex",1
  292.  info$
  293. bold$
  294. outln$
  295. "Roladex V1.0"
  296.             plain$
  297. 10,10
  298.  %%% Program Starts Here %%%
  299.  @Start
  300.  @RedrawScreen
  301.  @DError
  302.  @InitScreen
  303.  @TopDB
  304.    curRec 
  305.  book$
  306.  @GetRec
  307.  @Resume
  308.  @EditBox
  309.  @Display
  310.  @EButton
  311.  %%% Initialize the Screen %%%
  312.  @InitScreen
  313.  BCKP
  314.  0,0,319,199
  315.  0,0,319,199
  316.  204,0,319,14
  317.  204,0,319,14
  318.  216,11
  319.  info$
  320.  "main"
  321.  @DoProc,255
  322.  %%% Redraw Screen After DA %%%
  323.  @RedrawScreen
  324.  @InitScreen
  325.   @Resume
  326.  %%% Fly the Airplane (proc) %%%
  327.  @DoProc
  328.    proc
  329.  proc 
  330.    proc 
  331.  "plane"
  332.  1,700,13
  333. 10,10
  334.  @KillSprite
  335.  1,0,0,0
  336.  %%% Do Opening DB %%%
  337.  @TopDB
  338.      
  339.  "top",choice
  340.      
  341.  choice 
  342.  QUIT 
  343.      
  344.  choice 
  345.  NEW 
  346.                       
  347.  "Name of new Book:",                     book$:                          
  348.  book$ 
  349.                        
  350.  @MakeBook
  351.      
  352.  choice 
  353.  OLD 
  354.                       
  355.  book$
  356.  book$ 
  357.  %%% Create a New book$ %%%
  358.  @MakeBook
  359.  book$
  360.  MAXREC
  361.      
  362.  %%% Disk Error Trap %%%
  363.  @DError
  364.  6,derr
  365.  derr
  366.  "error"
  367.  @Start
  368.  %%% Insert a New Record %%%
  369.  @UpdateRec
  370.  newrec 
  371.  dirty 
  372.           
  373.  curRec
  374.  newrec 
  375.                             key$
  376. name$:                             
  377.  @Search
  378.  curRec
  379.  name$,addr$,city$,phnum$
  380.  curRec
  381.    newrec
  382. FALSE
  383.    dirty
  384. FALSE
  385.  %%% Do a Binary Search %%%
  386.  @Search
  387.    left
  388. 0:right
  389. MAXREC
  390. (key$)
  391.  @SeaLoop
  392.    mid
  393. (((right
  394. left)
  395. left)
  396. left 
  397.                           found
  398. FALSE:                            curRec
  399.                                   right
  400. (left
  401.  last$
  402. key$):         
  403.    last$
  404. plain$
  405.  last$
  406.    last$
  407. (last$,l)
  408.  ebLeft,nmt
  409.  plain$;bold$;                           "Searching: ";mid
  410. 1;"  "
  411.  last$
  412. key$ 
  413.                         found
  414. TRUE:                             curRec
  415. mid:                             
  416.  last$
  417. last$
  418. plain$ 
  419.           right
  420. mid:                              
  421.  @SeaLoop
  422.    left
  423.  @SeaLoop
  424.  %%% Search Icon Routine %%%
  425.  @SeaRec
  426.  @UpdateRec
  427.  "Enter Search String:",            key$
  428.  key$
  429.  @Search
  430.  @GetRec
  431.  @Display
  432.  %%% Read in a book$ File %%%
  433.  @GetRec
  434.  curRec
  435.    name$
  436. plain$:addr$
  437. plain$
  438.    city$
  439. plain$:phnum$
  440. plain$
  441.                         
  442.  name$,addr$,city$,phnum$
  443.  %%% Draw the Edit Box %%%
  444.  @EditBox
  445.  bxL,32,bxR,127
  446. 1,33,bxR
  447. 1,126
  448. 8,127,bxR
  449. 8,135
  450.  bxR,40,bxR
  451. 8,135
  452.  "edit"
  453. ne Nbr: "plain$ph
  454.  @Display
  455.  ebLeft,nmt
  456.  newrec
  457. FALSE 
  458.                       
  459.  plain$;bold$;                        "Record #";curRec
  460. 1;"   "
  461.  newrec
  462. TRUE 
  463.                        
  464.  plain$;bold$;                           "New Record"
  465.   ebLeft,nmt,ebRight,nmb
  466.  ebLeft,nmt,ebRight,nmb
  467.  ebLeft
  468. 1,nmt
  469.  bold$"Name:     "name$
  470.   ebLeft,adt,ebRight,adb
  471.  ebLeft,adt,ebRight,adb
  472.  ebLeft
  473. 1,adt
  474.  bold$"Address:   "plain$addr$
  475.   ebLeft,cit,ebRight,cib
  476.  ebLeft,cit,ebRight,cib
  477.  ebLeft
  478. 1,cit
  479.  bold$"City/State: "plain$city$
  480.   ebLeft,pht,ebRight,phb
  481.  ebLeft,pht,ebRight,phb
  482.  ebLeft
  483. 1,pht
  484.  bold$"Phone Nbr: "plain$phnum$
  485.  @NewFone
  486.  %%% Menu Routines %%%
  487.  @ClMenu
  488.  @UpdateRec
  489.  @Start
  490.  @UpMenu
  491.  @UpdateRec
  492.  @Display
  493.  @ReMenu
  494.    newrec 
  495.  FALSE
  496.    dirty  
  497.  FALSE
  498.  @GetRec
  499.  @Display
  500.      @QuMenu
  501. $       
  502.  @UpdateRec
  503. .       
  504.  %%% Button Handler %%%
  505. V     @EButton
  506. ;`       
  507. (ebLeft,nmt,                   ebRight,phb) 
  508. [j       
  509. (ebLeft,nmt,                             ebRight,nmb) 
  510.               
  511.  @NewName:
  512. [t       
  513. (ebLeft,adt,                             ebRight,adb) 
  514.               
  515.  @NewAddr:
  516. [~       
  517. (ebLeft,cit,                             ebRight,cib) 
  518.               
  519.  @NewCity:
  520. (ebLeft,pht,                             ebRight,phb) 
  521.               
  522.  @NewFone
  523.  %%% Move to Next Record %%%
  524.      @IncRec
  525.  @UpdateRec
  526.        curRec 
  527.  curRec
  528.  curRec
  529. MAXREC 
  530.  curRec
  531.  @GetRec
  532.  @Display
  533.  %%% Move to Prev. Record %%%
  534.  @DecRec
  535.  @UpdateRec
  536.  curRec
  537.  curRec
  538. curRec
  539.  @GetRec
  540.  @Display
  541.  %%% Delete a Record %%%
  542.  @DelRec
  543.    TMP$
  544. bold$
  545. "Delete Record? "
  546.  "qstn",i
  547.  curRec
  548.  MAXREC
  549.  @GetRec
  550.  @Display
  551.  %%% Add a Record %%%
  552.  @AddRec
  553.  @UpdateRec
  554.  "Enter record (1-126):",                 TMP$
  555.    curRec
  556. (TMP$)
  557.  curRec
  558.  curRec
  559.             curRec
  560.  @GetRec
  561. "bar"
  562.  @Display
  563.  %%% Info Box %%%
  564.  @InfoBox
  565.  "info"
  566.  %%% Edit Fields %%%
  567.  @NewName
  568. ebRight
  569. ebOffs
  570.    s$
  571. name$:
  572.  @GetString
  573.  3030
  574. name$ 
  575.                          newrec
  576. TRUE:                            name$
  577.  @Display
  578.  @NewAddr
  579. ebRight
  580. ebOffs
  581.    s$
  582. addr$:
  583.  @GetString
  584.                             addr$
  585. s$:                               dirty 
  586.  TRUE
  587.  @Display
  588.  @NewCity
  589. ebRight
  590. ebOffs
  591.    s$
  592. city$:
  593.  @GetString
  594.                             city$
  595. s$:                               dirty 
  596.  TRUE
  597.  @Display
  598.  "bar"
  599.  @NewFone
  600. ebRight
  601. ebOffs
  602.    s$
  603. phnum$:
  604.  @GetString
  605.                             phnum$
  606. s$:                              dirty 
  607.  TRUE
  608.  @Display
  609.  %%% Print All Records %%%
  610.  @PrintAll
  611.    TMP$
  612. bold$
  613. "Ready to Print? "
  614.  "qstn",i
  615.    temp
  616. curRec
  617.    curRec
  618.      
  619.  @GetRec
  620.      
  621.  name$
  622.      
  623.  addr$
  624.      
  625.  city$
  626.      
  627.  phnum$
  628.      
  629.      curRec
  630. curRec
  631.  curRec
  632.  name$
  633. plain$
  634.    curRec
  635.  @GetRec
  636.  @Display
  637.  %%% String Input Routine %%%
  638.  @GetString
  639. plain$ 
  640.  ebOffs,ty
  641. 7,ebRight
  642.  "bar"
  643.  3,4,ty
  644.  @PrtStr
  645.  @GSL
  646.  IFa$=""THEN GOTO @GSL
  647. (13) 
  648.                        
  649.  "bar":                           
  650. DEL$ 
  651.                 s$
  652. COMD$ 
  653.                           s$
  654. "":                                  
  655.  @GetString
  656. (31) 
  657.               s$
  658.  @PrtStr
  659.  @GSL
  660.  @PrtStr
  661.  tx,ty
  662.  s$"  ";
  663.    cx
  664.  3,3,cx
  665.